add_library(cppunit STATIC
    "../../include/cppunit/AdditionalMessage.h"
    "../../include/cppunit/Asserter.h"
    "../../include/cppunit/Exception.h"
    "../../include/cppunit/Message.h"
    "../../include/cppunit/SourceLine.h"
    "../../include/cppunit/SynchronizedObject.h"
    "../../include/cppunit/Test.h"
    "../../include/cppunit/TestAssert.h"
    "../../include/cppunit/TestCase.h"
    "../../include/cppunit/TestComposite.h"
    "../../include/cppunit/TestFailure.h"
    "../../include/cppunit/TestFixture.h"
    "../../include/cppunit/TestLeaf.h"
    "../../include/cppunit/TestListener.h"
    "../../include/cppunit/TestPath.h"
    "../../include/cppunit/TestResult.h"
    "../../include/cppunit/TestRunner.h"
    "../../include/cppunit/TestSuite.h"

    "../../include/cppunit/extensions/ExceptionTestCaseDecorator.h"
    "../../include/cppunit/extensions/Orthodox.h"
    "../../include/cppunit/extensions/RepeatedTest.h"
    "../../include/cppunit/extensions/TestCaseDecorator.h"
    "../../include/cppunit/extensions/TestDecorator.h"
    "../../include/cppunit/extensions/TestSetUp.h"

    "../../include/cppunit/extensions/AutoRegisterSuite.h"
    "../../include/cppunit/extensions/HelperMacros.h"
    "../../include/cppunit/extensions/TestFactory.h"
    "../../include/cppunit/extensions/TestFactoryRegistry.h"
    "../../include/cppunit/extensions/TestFixtureFactory.h"
    "../../include/cppunit/extensions/TestNamer.h"
    "../../include/cppunit/extensions/TestSuiteBuilderContext.h"
    "../../include/cppunit/extensions/TestSuiteFactory.h"
    "../../include/cppunit/extensions/TypeInfoHelper.h"
    "../../include/cppunit/TestCaller.h"

    "../../include/cppunit/BriefTestProgressListener.h"
    "../../include/cppunit/TestResultCollector.h"
    "../../include/cppunit/TextTestProgressListener.h"
    "../../include/cppunit/TextTestResult.h"

    "../../include/cppunit/CompilerOutputter.h"
    "../../include/cppunit/Outputter.h"
    "../../include/cppunit/TextOutputter.h"
    "../../include/cppunit/XmlOutputter.h"
    "../../include/cppunit/XmlOutputterHook.h"

    "../../include/cppunit/plugin/DynamicLibraryManager.h"
    "../../include/cppunit/plugin/DynamicLibraryManagerException.h"
    "../../include/cppunit/plugin/PlugInManager.h"
    "../../include/cppunit/plugin/PlugInParameters.h"
    "../../include/cppunit/plugin/TestPlugIn.h"
    "../../include/cppunit/plugin/TestPlugInDefaultImpl.h"

    "../../include/cppunit/config/config-bcb5.h"
    "../../include/cppunit/config/config-evc4.h"
    "../../include/cppunit/config/config-mac.h"
    "../../include/cppunit/config/config-msvc6.h"
    "../../include/cppunit/config/CppUnitApi.h"
    "../../include/cppunit/config/SelectDllLoader.h"
    "../../include/cppunit/config/SourcePrefix.h"
    "../../include/cppunit/Portability.h"
    "../../include/cppunit/portability/CppUnitDeque.h"
    "../../include/cppunit/portability/CppUnitMap.h"
    "../../include/cppunit/portability/CppUnitSet.h"
    "../../include/cppunit/portability/CppUnitStack.h"
    "../../include/cppunit/portability/CppUnitVector.h"
    "../../include/cppunit/portability/Stream.h"

    "AdditionalMessage.cpp"
    "Asserter.cpp"
    "Exception.cpp"
    "Message.cpp"
    "SourceLine.cpp"
    "SynchronizedObject.cpp"
    "Test.cpp"
    "TestAssert.cpp"
    "TestCase.cpp"
    "TestComposite.cpp"
    "TestFailure.cpp"
    "TestLeaf.cpp"
    "TestPath.cpp"
    "TestResult.cpp"
    "TestRunner.cpp"
    "TestSuite.cpp"

    "RepeatedTest.cpp"
    "TestCaseDecorator.cpp"
    "TestDecorator.cpp"
    "TestSetUp.cpp"

    "TestFactoryRegistry.cpp"
    "TestNamer.cpp"
    "TestSuiteBuilderContext.cpp"
    "TypeInfoHelper.cpp"

    "BriefTestProgressListener.cpp"
    "TestResultCollector.cpp"
    "TestSuccessListener.cpp"
    "TextTestProgressListener.cpp"
    "TextTestResult.cpp"

    "CompilerOutputter.cpp"
    "TextOutputter.cpp"
    "XmlOutputter.cpp"
    "XmlOutputterHook.cpp"

    "BeOsDynamicLibraryManager.cpp"
    "DynamicLibraryManager.cpp"
    "DynamicLibraryManagerException.cpp"
    "PlugInManager.cpp"
    "PlugInParameters.cpp"
    "ShlDynamicLibraryManager.cpp"
    "TestPlugInDefaultImpl.cpp"
    "UnixDynamicLibraryManager.cpp"
    "Win32DynamicLibraryManager.cpp"

    "../../include/cppunit/Protector.h"
    "DefaultProtector.cpp"
    "DefaultProtector.h"
    "Protector.cpp"
    "ProtectorChain.cpp"
    "ProtectorChain.h"
    "ProtectorContext.h"

    "../../include/cppunit/TextTestRunner.h"
    "../../include/cppunit/ui/text/TestRunner.h"
    "../../include/cppunit/ui/text/TextTestRunner.h"
    "TextTestRunner.cpp"

    "../../include/cppunit/tools/Algorithm.h"
    "../../include/cppunit/tools/StringTools.h"
    "../../include/cppunit/tools/XmlDocument.h"
    "../../include/cppunit/tools/XmlElement.h"
    "StringTools.cpp"
    "XmlDocument.cpp"
    "XmlElement.cpp"
)
set_target_properties(cppunit PROPERTIES FOLDER contrib)
target_include_directories(cppunit PRIVATE ../../include)
target_include_directories(cppunit INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/../../include)
